package com.dy.lock.screen.dao.impl;

import java.util.List;

import org.springframework.stereotype.Repository;

import com.dy.lock.screen.dao.AdvertOperatorDao;
import com.dy.lock.screen.pojo.AdvertOperatorInfo;

@Repository("advertOperatorDao")
public class AdvertOperatorDaoImpl extends
		BaseDaoImpl<AdvertOperatorInfo, String> implements AdvertOperatorDao {

	@Override
	public String getQueryNamespace() {
		return "mybatis.xml.AdvertOperatorMapper";
	}

	@Override
	public List<AdvertOperatorInfo> queryByCustomerId(AdvertOperatorInfo info) {
		// TODO Auto-generated method stub
		return this.getSqlSession().selectList(
				getQueryNamespace() + ".queryByCustomerId", info);
	}

}
